package com.zmm.study.blog.test.es.model;

import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * description:
 * name ArticleServiceImpl
 *
 * @author Zebulon
 * date By 2022-01-19 22:20:11
 */
@Service
public class ArticleServiceImpl  implements ArticleService{


    @Resource
    private ArticleRepository articleRepository;



    @Override
    public boolean save() {
        Article article = new Article();
        article.setId(1);
        article.setTitle("这是第一个标题");
        article.setContext("这是第一个内容");
        return true;
    }
}
